package cn.vihub.service;

import cn.vihub.param.ShopMenuParam;
import cn.vihub.pojo.ShopMenu;
import cn.vihub.utils.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: 秋晚
 * @Date:  2025/7/18 16:14
 * @Description: 
 **/

public interface ShopMenuService extends IService<ShopMenu>{

        Boolean saveMenu(ShopMenuParam shopMenuParam);

        Object getTree();

        void isChildrenByPid(Integer id);

        Object getTreeByUserId(Integer userId);

        List<ShopMenu> getMenuById(Integer roleId);
    }
